package com.woniu.product.mapper;

import com.woniu.common.dto.CartDto;
import com.woniu.product.dto.SkuDto;
import com.woniu.product.pojo.TProductSku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 91211
* @description 针对表【t_product_sku(商品表)】的数据库操作Mapper
* @createDate 2024-05-20 22:25:53
* @Entity com.woniu.product.pojo.TProductSku
*/
public interface TProductSkuMapper extends BaseMapper<TProductSku> {
    List<SkuDto> querySku(Long spuId);
    void updateStore(List<CartDto> shops);

    TProductSku querySkuType(Long skuId);
    List<SkuDto> querySkuById(Long skuId);
    List<TProductSku> queryAllDetail();
}




